package com.beyond.project.service;

import com.beyond.project.dao.ProjectDAO;
import com.beyond.project.dao.impl.ProjectDAOImpl;
import com.beyond.project.vo.ProjectBean;

import net.common.service.GeneralService;

public class ProjectFindOneService extends GeneralService {

	private ProjectBean bean;
	private Integer id ;
	
	@Override
	public void execute() throws Exception {
		ProjectDAO dao = new ProjectDAOImpl();
		bean = dao.findOne(id);
	}

	public ProjectBean getBean() {
		return bean;
	}

	public void setBean(ProjectBean bean) {
		this.bean = bean;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}
